import res from '@/utils/request';
import { Card, Col, Input, Row, Table, Tabs } from 'antd';
import React from 'react';
const QuickTabs = ({
  children,
  ...rest
}:any)=>{
  return <Tabs  items={children.map((item,index:number)=>{
    return {
      label:item.label||`Tab ${index+1}`,
      key:item.key,
      children:item
    }
  })}></Tabs>

}
QuickTabs.Panel = ({children}:any)=>{
  return children
}
export default QuickTabs